function [ nameCat ] = getName(  name ,minute, second)
% input: parameters of name and get the useful variant "nameCat"
% "name" is a string until " hour-number '_' "
% hour_number cannot change 
    if (second <10)
         if (minute <10)
             nameCat = [name '0' num2str(minute) '_0' num2str(second) '.txt'];
         else
             nameCat = [name  num2str(minute) '_0' num2str(second) '.txt'];
         end
    elseif (second>=10) && (second<60)
         if (minute <10)
             nameCat = [name '0' num2str(minute) '_' num2str(second) '.txt'];
         else
             nameCat = [name  num2str(minute) '_' num2str(second) '.txt'];
         end  
    elseif (second>=60) && (second<70)
         if (minute <9)
             nameCat = [name '0' num2str(minute+1) '_0' num2str(second-60) '.txt'];
         else
             nameCat = [name  num2str(minute+1) '_0' num2str(second-60) '.txt'];
         end 
    elseif (second>70)
         if (minute <9)
             nameCat = [name '0' num2str(minute+1) '_' num2str(second-60) '.txt'];
         else
             nameCat = [name  num2str(minute+1) '_' num2str(second-60) '.txt'];
         end 
    end

end

